package cn.signalpha.modules.social.vo;

import cn.signalpha.modules.shop.vo.OrderGoodsVO;
import cn.signalpha.modules.social.entity.Topic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 视图实体类
 *
 * @author signalpha
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "TutorialVO对象", description = "论坛主题")
public class TopicVO extends Topic {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "用户头像")
	private String userAvatar;
	@ApiModelProperty(value = "用户昵称")
	private String userNickName;

	@ApiModelProperty(value = "分类名称")
	private String categoryName;

	@ApiModelProperty(value = " 商品信息")
	private List<OrderGoodsVO> goodsList;

	@ApiModelProperty(value = "点赞id，大于0就是已点赞")
	private Long likeId;

	@ApiModelProperty(value = "是否关注：0否 1是")
	private Long isFans;

}
